package com.glasses.manage.core.dao;

import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * @描述: 用于注入SqlSessionFactory
 * @作者: yy
 * @创建时间: 2016/12/15
 * @版本: 1.0
 */
public abstract class AbstractBaseDao extends SqlSessionDaoSupport {
    @Autowired
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
        super.setSqlSessionFactory(sqlSessionFactory);
    }
}
